(function() {

  var Constants = {
    server: '../../',
    colorIndex: 0,
    colorList: [
      '#66CCCC',
      '#666699',
      '#FF99CC',
      '#99CC66',
      '#FF9900',
      '#FFCC00'
    ],
    getColor: function (index) {
      var i = Number(index) % this.colorList.length;
      return this.colorList[i];
    },
    getColorAuto: function () {
      var i = this.colorIndex % this.colorList.length;
      this.colorIndex ++;
      return this.colorList[i];
    }
  };
  window.Constants = Constants;
  

}());